package com.hjx.movie.core.player.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2021/5/3 - 18:52
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Folder {
    private Integer id;
    //文件名
    private String name;
    //文件大小
    private String size;
    //文件类型
    private String type;
    //绝对路径
    private String path;
    //网络路径
    private String httpPath;
    //是否包含子节点
    private Boolean hasChildren;
    //base64编码
    private String code;
    //子文件
    private ArrayList<Folder> children = new ArrayList<>();
}
